//
//  SettingPasswordViewController.m
//  TaurusXi
//
//  Created by xicheng on 15/12/12.
//  Copyright © 2015年 xicheng. All rights reserved.
//

#import "SettingPasswordViewController.h"

@interface SettingPasswordViewController ()
@property (weak, nonatomic) IBOutlet UITextField *passwordField;
@property (weak, nonatomic) IBOutlet UITextField *confirmPasswordField;
@property (weak, nonatomic) IBOutlet UITextField *businessField;
@property (weak, nonatomic) IBOutlet UITextField *confirmBusinessField;
@property (weak, nonatomic) IBOutlet UIButton *sendButton;
@property (weak, nonatomic) IBOutlet UIButton *goToArticle;

@end

@implementation SettingPasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  [self setTitleText:@"设置密码"];
  
  self.passwordField.clearButtonMode = UITextFieldViewModeWhileEditing;
  
  UIImage *buttonImage = ImageWithContentsOfFileWithPng(@"ic_button_@2x");
  buttonImage = [buttonImage resizableImageWithCapInsets:UIEdgeInsetsMake(10, 12, 10, 12) resizingMode:UIImageResizingModeStretch];
  [self.sendButton setBackgroundImage:buttonImage forState:UIControlStateNormal];
  
  UIImage *buttonClickImage = ImageWithContentsOfFileWithPng(@"ic_button_click@2x");
  buttonClickImage = [buttonClickImage resizableImageWithCapInsets:UIEdgeInsetsMake(10, 12, 10, 12) resizingMode:UIImageResizingModeStretch];
  [self.sendButton setBackgroundImage:buttonClickImage forState:UIControlStateHighlighted];
  [self.sendButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];

  
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
